package com.angle3d;

/**
 * Interface for listeners of node render events.
 * @author Alessandro Boccalatte
 */
public interface NodeRenderListener {

	/**
	 * Method invoked right before a {@link Node} is rendered.
	 * @param node the scene graph node which will be rendered.
	 * @param view the view in which the node will rendered.
	 */
	void onNodePreRender(Node node, View3D view);
	
	/**
	 * Method invoked right after a {@link Node} has been rendered.
	 * @param node the scene graph node which has been rendered.
	 * @param view the view in which the node has been rendered.
	 */
	void onNodePostRender(Node node, View3D view);
}
